﻿<%@ Page Title="" Language="C#" MasterPageFile="~/View/Master.Master" AutoEventWireup="true" CodeBehind="ViewCatalogueForClerk.aspx.cs" Inherits="PresentationLayer.View.DepartmentEmployee.WebForm2" %>

<%@ Register src="../mainMenu.ascx" tagname="mainMenu" tagprefix="uc1" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
    <style type="text/css">

        .style17
        {
            height: 49px;
        }
        .style18
        {
            width: 75px;
            height: 49px;
        }
        
        .style15
        {
            width: 75px;
        }
        .style10
        {
            width: 51px;
        }
        .style16
        {
            width: 140px;
        }
        .style14
        {
            width: 236px;
        }
        </style>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <div>
    <table width="100%">
    <tr>
        <td style="height:auto;width:250px;vertical-align:top;">
        
             
            <uc1:mainMenu ID="mainMenu1" runat="server" />
        
             
            </td>
        <td>
         <div style="vertical-align:top;">
           
            <center><h2>
                <u>Catalogue List</u></h2></center>
   
        <table>
            <tr>
                <td>
                    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</td>
                <td class="style11">
                    Category:</td>
                <td class="style15">
                    &nbsp;<asp:DropDownList ID="ddCategory" runat="server" Height="16px" 
                        Width="131px" AppendDataBoundItems="True">
                        <asp:ListItem Value="0">All</asp:ListItem>
                    </asp:DropDownList>
                </td>
                <td>
                    &nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<asp:Button 
                        ID="btnSearch" runat="server" Text="Search" 
                        Width="70px" onclick="btnSearch_Click1" />
                    &nbsp;
                </td>
            </tr>
          
        </table>
        <table>
            <tr>
                <td>
                    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</td>
                <td>
                    <asp:GridView ID="foo" runat="server" AllowPaging="True" 
                        autogeneratecolumns="False" CellPadding="4" EnableModelValidation="True" 
                        ForeColor="#333333" GridLines="None" Width="849px" 
                        onpageindexchanging="foo_PageIndexChanging" PageIndex="10">
                        <AlternatingRowStyle BackColor="White" ForeColor="#284775" />
                        <columns>
                        <asp:TemplateField HeaderText="No">
                                <ItemTemplate>
                                    <%# Container.DataItemIndex + 1 %>
                                </ItemTemplate>
                            </asp:TemplateField>
                            <asp:boundfield datafield="ItemId" headertext="Item Number" />
                            <asp:boundfield datafield="CategoryName" HeaderText="Category" />
                            <asp:boundfield datafield="Description" HeaderText="Description" />
                            <asp:boundfield datafield="TotalQty" HeaderText="Total Quantity" />
                            <asp:boundfield datafield="UOM" HeaderText="Unit of Measure" />
                        </columns>
                        <EditRowStyle BackColor="#999999" />
                        <EmptyDataTemplate>
                            &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;
                        </EmptyDataTemplate>
                        <FooterStyle BackColor="#5D7B9D" Font-Bold="True" ForeColor="White" />
                        <HeaderStyle BackColor="#5D7B9D" Font-Bold="True" ForeColor="White" />
                        <PagerStyle BackColor="#284775" ForeColor="White" HorizontalAlign="Center" />
                        <RowStyle BackColor="#F7F6F3" ForeColor="#333333" />
                        <SelectedRowStyle BackColor="#E2DED6" Font-Bold="True" ForeColor="#333333" />
                    </asp:GridView>
                </td>
            </tr>
        </table>
    </div>
        </td></tr></table>
    </div>
</asp:Content>
